package com.websem.client.services;

import java.util.HashMap;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * 
 * @author issam
 * 
 */
@RemoteServiceRelativePath("../films")
public interface FilmService extends RemoteService {

	List<HashMap<String, String>> getFilms();

	List<String> getGenre();

	List<String> getCountry();

	List<String> getLanguage();
	
	List<String> getVersion();
	
	List<HashMap<String, String>> getFilmByGenre(String genre);
	
	List<HashMap<String, String>> getFilmByCountry(String country);
	
	List<HashMap<String, String>> getFilmByLanguage(String language);
	
	List<HashMap<String, String>> getFilmByDate(String date);
	
	List<HashMap<String, String>> getFilmByVersion(String version);
	
	List<HashMap<String, String>> getFilmByWord(String word);
	
	List<HashMap<String, String>> getComingSoonFilm();

	List<String> getPrizes();

	List<HashMap<String, String>> getFilmByPrize(String prize);
	
	List<HashMap<String, String>> findFilms(String genre, String country, String prize, String language, String date, String version);
}
